package com.microservice.salmon.db.enums;

import lombok.Getter;

/**
 * <p>
 *
 * </p>
 *
 * @author 王洪庆 2019-03-07 22:41
 */
@Getter
public enum CartEnum {

    LIMIT_NUM_FAIL("40","LIMIT_NUM_FAIL"),
    LIMIT_NUM_SUCCESS("30", "LIMIT_NUM_SUCCESS"),

    GOODS_CHECKED("1", "购物车中的商品已选中"),
    GOODS_UN_CHECKED("0", "购物车中的商品未选中");

    private Byte code;
    private String message;
    CartEnum(String code, String message) {
        this.code = Byte.valueOf(code);
        this.message = message;
    }
}
